<h1>客户管理 - <span id="secondHeading">客户家人信息</span></h1>
<TABLE border="0" id="LIST_TB">
	<TR id="LIST_TB_TITLE">
    	<td>称谓</td>
    	<td>姓名</td>
    	<td>生日</td>
    	<td colspan="2">相关操作</td>
  	</tr>
<%@familys.each do |family|%>
	  <tr id="LIST_TB_CONTENT1">
	    <td><%=family.appellation%></td>
	    <td><%=family.name%></td>
	    <td><%=family.birthday%></td>
	    <td><%=link_to(image_tag("/images/edit.gif"),{:action=>"edit_agent_family",:id=>family.id})%></td>
	    <td><%=link_to(image_tag("/images/delete.gif"),{:action=>"del_agent_family",:id=>family.id},{:confirm=>"你确定要删除该家人信息吗?"})%></td>
	  </tr>
<%end%>
</table>
<table>
        <tr>
                <td>
                        <input type="button" value="打印当前页" class="sub" onclick="openPrintWindow('LIST_TB')"/>
                        <input type="button" value="导出当前数据" class="sub" onclick="CellAreaExcel('LIST_TB')"/>
                </td>
        </tr>
</table>
